<template>
  <el-table :data="tableData" border style="width: auto;height:auto" @row-click="clickRow">
    <el-table-column prop="code" label="代码"/>
    <el-table-column prop="name" label="名称"/>
    <el-table-column prop="changePercent" label="涨幅%"/>
    <el-table-column prop="price" label="现价"/>
    <el-table-column prop="priceChange" label="涨跌"/>
    <el-table-column prop="pe" label="市盈（动）"/>
    <el-table-column prop="totalWorth" label="总市值（亿）"/>
  </el-table>
  <el-pagination
    id="pagination"
    background
    layout="prev, pager, next"
    :page-count="pageCount"
    :current-page="pageNo"
    @current-change="handleCurrentChange">
  </el-pagination>
</template>

<script lang="js" src="./StockRank.js"></script>

<style scoped>

</style>
